/*
Summary of this class:
Every spot in the array must be filled.
When an entry is removed, the last entry in the array is moved to fill the space.
*/

#ifndef NGICollection_H_
#define NGICollection_H_
#include "Node.h"
#endif

class NGICollection
{
public:
	NGICollection(void);
	NGICollection(int capacity);
	~NGICollection(void);

	bool add(Node* n);
	bool remove(Node* n);
	bool remove(int n);
	void resize(int newcapacity);

	Node** nodes;
	int count;
	int capacity;
};

